import { createRouter, RouteRecordRaw, createWebHashHistory } from "vue-router"

const routes: RouteRecordRaw[] = [
  {
    path: "/",
    name: "home",
    component: () => import("../views/Home/index.vue")
  },
  {
    path: "/toolbar",
    name: "toolbar",
    component: () => import("../views/Toolbar/index.vue")
  }
]

export const router = createRouter({
  history: createWebHashHistory(),
  routes
})